package day6;

import java.util.Scanner;


    class TestPeople{
        public static void main(String[] args){
            //定义完类后
            Scanner sc = new Scanner(System.in);
            people p = new people();
            p.name = "张山";
            System.out.println(p.name);
            System.out.println(p.age);
            //System.out.println(p.money);
            System.out.println(p.sex);
        }
    }


public class people {
    public String name;
    protected String sex;
    int age;
    private double money;
}